package com.sunday.canal.adapter.mongo.constants;

import org.apache.commons.lang.SystemUtils;

public interface LogConstants {

    String SEP = SystemUtils.LINE_SEPARATOR;

    String context_format = SEP + "****************************************************" + SEP
            + "* Batch Id: [{}] ,count : [{}] , memsize : [{}] , Time : {}" + SEP
            + "* Start : [{}] " + SEP
            + "* End : [{}] " + SEP
            + "****************************************************" + SEP;

    String row_format = SEP
            + "----------------> binlog[{}:{}] , name[{},{}] , eventType : {} , executeTime : {}({}) , gtid : ({}) , delay : {} ms"
            + SEP;

    String transaction_format = SEP
            + "================> binlog[{}:{}] , executeTime : {}({}) , gtid : ({}) , delay : {}ms"
            + SEP;

}
